package com.bins.music.player.model;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class SoundBO {

    private String soundId;

    private String soundName;

    private String artistName;

    private String album;

    private String soundPath;

    private String imageUrl;

    private int duration;

    private String coverArt;

    public SoundBO(String soundId, String soundName, String artistName, String soundPath, String imageUrl, String album) {
        this.soundId = soundId;
        this.soundName = soundName;
        this.artistName = artistName;
        this.soundPath = soundPath;
        this.imageUrl = imageUrl;
        this.album = album;
    }

    public SoundBO(String soundId, String soundName, String artistName, String soundPath, int duration, String album) {
        this.soundId = soundId;
        this.soundName = soundName;
        this.artistName = artistName;
        this.soundPath = soundPath;
        this.duration = duration;
        this.album = album;
    }

    @Override
    public String toString() {
        return soundName + " - " + artistName;
    }
}
